package com.ztgf.order.models.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import com.ztgf.shopping.models.dto.shop.ShopAddressDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author YUE
 * @create 2020-06-23 10:36
 */
@Data
public class ShopCartDataVO implements Serializable {
    @ApiModelProperty(value = "店铺信息")
    private List<ShopCardShopInfoVO> shopCardShopInfoVOList;
    @ApiModelProperty(value = "支付方式 0全款、1分批")
    private Integer payType;
    @ApiModelProperty(value = "支付方式 0普通 1询价")
    private Integer type;
    @ApiModelProperty(value = "收货地址")
    private ShopAddressDTO shopAddressDTO;
    @ApiModelProperty(value = "运费")
    private String freight;

    @ApiModelProperty(value = "商品总数量")
    private Integer shopAllNum;
    @ApiModelProperty(value = "商品总价格")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal shopAllPrice;
    @ApiModelProperty(value = "商品优惠")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal shopDiscounts;
    @ApiModelProperty(value = "应付总额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal lastPrice;
    @ApiModelProperty(value = "合同内容")
    OrderContractParamRelationVO orderContractParamRelationVO;

    @ApiModelProperty(value = "询盘商品类型")
    private Integer purchaseCommodityType;

    @ApiModelProperty(value = "询盘商品总服务费")
    private BigDecimal purchaseFeeMoneyScalePriceTotal;

//    @ApiModelProperty(value = "订单备注")
//    private String note;
//    @ApiModelProperty(value = "买家店铺id")
//    private Long buyerShopId;
}
